<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Alert</title>
    <style>
        #pageHeight{
          height:1300px
        }
        body {
            background-color: #3498db;
            color: white;
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            line-height: 1.6;
        }
    </style>
</head>
<body>
<div id="container" onclick="alertTest()">Alert</div>
<div id="result"></div>
<div id="pageHeight"></div>
<br/>
<script>
    function alertTest(){
        alert('alert test')
    }
</script>
</body>
</html>